package com.suyuan.service;

import com.github.pagehelper.PageInfo;
import com.suyuan.entity.CarInfo;
import com.suyuan.entity.CompanyInfo;
import com.suyuan.entity.Station;
import com.suyuan.entity.TransportRouteInfor;
import com.suyuan.vo.CarInfoVO;
import com.suyuan.vo.StationVO;
import com.suyuan.web.Page;

import java.util.List;

/**
 *  车辆管理业务接口
 *
 */
public interface StationService {

    /**
     * 车辆管理列表
     * @return
     */
    List<StationVO> list();

    /**
     * 添加车辆信息
     * @param station
     * @return
     */
    int add(Station station);

    /**
     * 根据id删除车辆信息
     * @param id
     * @return
     */
    int delete(Integer id);

    Station edit(Integer id);

    int update(Station station);

    List<TransportRouteInfor> getRoutes();
}
